package com.cms.admin.model;

import com.cms.admin.util.PropertiesService;
import org.apache.commons.lang.StringUtils;

import java.math.BigDecimal;
import java.util.Date;

public class StuffList {
    private Long recid;

    private Integer systemid;

    private Long stuffid;

    private String stuffNo;

    private String stuffAlias;

    private String stuffName;

    private Integer entityid;

    private Integer departmentid;

    private String stuffIdno;

    private String identityid;

    private String jobNumber;

    private String keyword;

    private String searchCode;

    private Integer classid;

    private Integer typeid;

    private String typeName;

    private Integer roleid;

    private String roleName;

    private String stuffTitle;

    private String stuffLabel;

    private String registerScope;

    private String stuffDesc;

    private String iconUrl;

    private String listPictureImageUrl;

    private String consultRecommend;

    private String consultImpression;

    private String consultInstructions;

    private String briefInfo;

    private String registertypeid;

    private BigDecimal registerPrice;

    private BigDecimal stuffPrice;

    private BigDecimal stuffPrice01;

    private BigDecimal stuffPrice02;

    private BigDecimal stuffPrice03;

    private Byte isUserRegisterVisible;

    private Short isUsedFlag;

    private String registerWhere;

    private String comment;

    private Short runFlag;

    private Short runstatusid;

    private String runStatus;

    private Date createDate;

    private Date updateDate;

    private Long updateUserid;

    private Long orderbycolumn;

    private String stuffData;

    private String hospitalid;

    private String hospitalName;

    private String departmentName;

    private String fullIconUrl;

    public Long getRecid() {
        return recid;
    }

    public void setRecid(Long recid) {
        this.recid = recid;
    }

    public Integer getSystemid() {
        return systemid;
    }

    public void setSystemid(Integer systemid) {
        this.systemid = systemid;
    }

    public Long getStuffid() {
        return stuffid;
    }

    public void setStuffid(Long stuffid) {
        this.stuffid = stuffid;
    }

    public String getStuffNo() {
        return stuffNo;
    }

    public void setStuffNo(String stuffNo) {
        this.stuffNo = stuffNo == null ? null : stuffNo.trim();
    }

    public String getStuffAlias() {
        return stuffAlias;
    }

    public void setStuffAlias(String stuffAlias) {
        this.stuffAlias = stuffAlias == null ? null : stuffAlias.trim();
    }

    public String getStuffName() {
        return stuffName;
    }

    public void setStuffName(String stuffName) {
        this.stuffName = stuffName == null ? null : stuffName.trim();
    }

    public Integer getEntityid() {
        return entityid;
    }

    public void setEntityid(Integer entityid) {
        this.entityid = entityid;
    }

    public Integer getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }

    public String getStuffIdno() {
        return stuffIdno;
    }

    public void setStuffIdno(String stuffIdno) {
        this.stuffIdno = stuffIdno == null ? null : stuffIdno.trim();
    }

    public String getIdentityid() {
        return identityid;
    }

    public void setIdentityid(String identityid) {
        this.identityid = identityid == null ? null : identityid.trim();
    }

    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber == null ? null : jobNumber.trim();
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword == null ? null : keyword.trim();
    }

    public String getSearchCode() {
        return searchCode;
    }

    public void setSearchCode(String searchCode) {
        this.searchCode = searchCode == null ? null : searchCode.trim();
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getStuffTitle() {
        return stuffTitle;
    }

    public void setStuffTitle(String stuffTitle) {
        this.stuffTitle = stuffTitle == null ? null : stuffTitle.trim();
    }

    public String getStuffLabel() {
        return stuffLabel;
    }

    public void setStuffLabel(String stuffLabel) {
        this.stuffLabel = stuffLabel == null ? null : stuffLabel.trim();
    }

    public String getRegisterScope() {
        return registerScope;
    }

    public void setRegisterScope(String registerScope) {
        this.registerScope = registerScope == null ? null : registerScope.trim();
    }

    public String getStuffDesc() {
        return stuffDesc;
    }

    public void setStuffDesc(String stuffDesc) {
        this.stuffDesc = stuffDesc == null ? null : stuffDesc.trim();
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl == null ? null : iconUrl.trim();
    }

    public String getListPictureImageUrl() {
        return listPictureImageUrl;
    }

    public void setListPictureImageUrl(String listPictureImageUrl) {
        this.listPictureImageUrl = listPictureImageUrl == null ? null : listPictureImageUrl.trim();
    }

    public String getConsultRecommend() {
        return consultRecommend;
    }

    public void setConsultRecommend(String consultRecommend) {
        this.consultRecommend = consultRecommend == null ? null : consultRecommend.trim();
    }

    public String getConsultImpression() {
        return consultImpression;
    }

    public void setConsultImpression(String consultImpression) {
        this.consultImpression = consultImpression == null ? null : consultImpression.trim();
    }

    public String getConsultInstructions() {
        return consultInstructions;
    }

    public void setConsultInstructions(String consultInstructions) {
        this.consultInstructions = consultInstructions == null ? null : consultInstructions.trim();
    }

    public String getBriefInfo() {
        return briefInfo;
    }

    public void setBriefInfo(String briefInfo) {
        this.briefInfo = briefInfo == null ? null : briefInfo.trim();
    }

    public String getRegistertypeid() {
        return registertypeid;
    }

    public void setRegistertypeid(String registertypeid) {
        this.registertypeid = registertypeid == null ? null : registertypeid.trim();
    }

    public BigDecimal getRegisterPrice() {
        return registerPrice;
    }

    public void setRegisterPrice(BigDecimal registerPrice) {
        this.registerPrice = registerPrice;
    }

    public BigDecimal getStuffPrice() {
        return stuffPrice;
    }

    public void setStuffPrice(BigDecimal stuffPrice) {
        this.stuffPrice = stuffPrice;
    }

    public BigDecimal getStuffPrice01() {
        return stuffPrice01;
    }

    public void setStuffPrice01(BigDecimal stuffPrice01) {
        this.stuffPrice01 = stuffPrice01;
    }

    public BigDecimal getStuffPrice02() {
        return stuffPrice02;
    }

    public void setStuffPrice02(BigDecimal stuffPrice02) {
        this.stuffPrice02 = stuffPrice02;
    }

    public BigDecimal getStuffPrice03() {
        return stuffPrice03;
    }

    public void setStuffPrice03(BigDecimal stuffPrice03) {
        this.stuffPrice03 = stuffPrice03;
    }

    public Byte getIsUserRegisterVisible() {
        return isUserRegisterVisible;
    }

    public void setIsUserRegisterVisible(Byte isUserRegisterVisible) {
        this.isUserRegisterVisible = isUserRegisterVisible;
    }

    public Short getIsUsedFlag() {
        return isUsedFlag;
    }

    public void setIsUsedFlag(Short isUsedFlag) {
        this.isUsedFlag = isUsedFlag;
    }

    public String getRegisterWhere() {
        return registerWhere;
    }

    public void setRegisterWhere(String registerWhere) {
        this.registerWhere = registerWhere == null ? null : registerWhere.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Short getRunFlag() {
        return runFlag;
    }

    public void setRunFlag(Short runFlag) {
        this.runFlag = runFlag;
    }

    public Short getRunstatusid() {
        return runstatusid;
    }

    public void setRunstatusid(Short runstatusid) {
        this.runstatusid = runstatusid;
    }

    public String getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(String runStatus) {
        this.runStatus = runStatus == null ? null : runStatus.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Long getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }

    public Long getOrderbycolumn() {
        return orderbycolumn;
    }

    public void setOrderbycolumn(Long orderbycolumn) {
        this.orderbycolumn = orderbycolumn;
    }

    public String getStuffData() {
        return stuffData;
    }

    public void setStuffData(String stuffData) {
        this.stuffData = stuffData == null ? null : stuffData.trim();
    }

    public String getHospitalid() {
        return hospitalid;
    }

    public void setHospitalid(String hospitalid) {
        this.hospitalid = hospitalid;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getFullIconUrl() {
        if (StringUtils.isBlank(iconUrl))
        {
            return PropertiesService.getString("res.path")+"docImage/kefu.png";
        }else {
            return PropertiesService.getString("res.path") + iconUrl;
        }
    }

    public void setFullIconUrl(String fullIconUrl) {
        this.fullIconUrl = fullIconUrl;
    }
}